<template>
  <!-- <v-scale-screen
    :fullScreen="true"
    style="background: gray"
    width="1920"
    height="1080"
  >
    <div class="page-screen">
      <router-view />
    </div>
  </v-scale-screen> -->
  <router-view />
</template>

<script setup>
import VScaleScreen from "v-scale-screen";

import useSettingsStore from "@/store/modules/settings";
import { handleThemeStyle } from "@/utils/theme";

onMounted(() => {
  nextTick(() => {
    // 初始化主题样式
    handleThemeStyle(useSettingsStore().theme);
  });
});
</script>
<style scoped lang="scss">
.page-screen {
  background-color: #fff;
}
</style>
